package com.fqgj.sentry.manage.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.sentry.manage.dao.McMerchantDao;
import com.fqgj.sentry.manage.entity.McMerchantEntity;
import org.springframework.stereotype.Repository;

/**
* User: ykpbean
* Date: 2017-07-12
* Time: 14:21:02.927
*/

@Repository
public class McMerchantDaoImpl extends AbstractBaseMapper<McMerchantEntity> implements McMerchantDao {

    @Override
    public McMerchantEntity selectByCode(String code) {
        return this.getSqlSession().selectOne(this.getStatement(".selectByCode"),code);

    }
}